package com.ruoyi.salaryBase.domain;

import com.ruoyi.common.annotation.Excel;

import java.math.BigDecimal;
import java.util.Date;

public class BaseSalaryVO {
    /** 薪资记录ID，主键 */
    private Long id;

    /** 员工ID，关联员工表 */
    @Excel(name = "员工ID，关联员工表")
    private Long employeeId;

    //员工姓名
    private String name;

    //员工工号
    private String employeeNumber;

    //员工部门
    private String deptName;

    //员工职位
    private String posName;

    /** 基本工资 */
    @Excel(name = "基本工资")
    private BigDecimal basicSalary;

    /** 岗位工资 */
    @Excel(name = "岗位工资")
    private BigDecimal positionSalary;

    /** 绩效工资 */
    @Excel(name = "绩效工资")
    private BigDecimal performanceSalary;

    /** 总工资 */
    @Excel(name = "总工资")
    private BigDecimal totalSalary;

    /** 入职日期（冗余存储） */
    @Excel(name = "入职日期", readConverterExp = "冗=余存储")
    private Date hireDate;

    /** 转正日期（冗余存储） */
    @Excel(name = "转正日期", readConverterExp = "冗=余存储")
    private Date conversionDate;

    /** 薪资生效日期 */
    private Date effectiveDate;

    /** 是否当前有效薪资记录 */
    private Integer isCurrent;

    /** 删除标志（0代表存在 2代表删除） */
    private Long delFlag;

    /** 记录创建时间 */
    private Date createdAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Long employeeId) {
        this.employeeId = employeeId;
    }

    public String getEmployeeNumber() {
        return employeeNumber;
    }

    public void setEmployeeNumber(String employeeNumber) {
        this.employeeNumber = employeeNumber;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getPosName() {
        return posName;
    }

    public void setPosName(String posName) {
        this.posName = posName;
    }

    public BigDecimal getBasicSalary() {
        return basicSalary;
    }

    public void setBasicSalary(BigDecimal basicSalary) {
        this.basicSalary = basicSalary;
    }

    public BigDecimal getPositionSalary() {
        return positionSalary;
    }

    public void setPositionSalary(BigDecimal positionSalary) {
        this.positionSalary = positionSalary;
    }

    public BigDecimal getPerformanceSalary() {
        return performanceSalary;
    }

    public void setPerformanceSalary(BigDecimal performanceSalary) {
        this.performanceSalary = performanceSalary;
    }

    public BigDecimal getTotalSalary() {
        return totalSalary;
    }

    public void setTotalSalary(BigDecimal totalSalary) {
        this.totalSalary = totalSalary;
    }

    public Date getHireDate() {
        return hireDate;
    }

    public void setHireDate(Date hireDate) {
        this.hireDate = hireDate;
    }

    public Date getConversionDate() {
        return conversionDate;
    }

    public void setConversionDate(Date conversionDate) {
        this.conversionDate = conversionDate;
    }

    public Date getEffectiveDate() {
        return effectiveDate;
    }

    public void setEffectiveDate(Date effectiveDate) {
        this.effectiveDate = effectiveDate;
    }

    public Integer getIsCurrent() {
        return isCurrent;
    }

    public void setIsCurrent(Integer isCurrent) {
        this.isCurrent = isCurrent;
    }

    public Long getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Long delFlag) {
        this.delFlag = delFlag;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "BaseSalaryVO{" +
                "id=" + id +
                ", employeeId=" + employeeId +
                ", name='" + name + '\'' +
                ", employeeNumber='" + employeeNumber + '\'' +
                ", deptName='" + deptName + '\'' +
                ", posName='" + posName + '\'' +
                ", basicSalary=" + basicSalary +
                ", positionSalary=" + positionSalary +
                ", performanceSalary=" + performanceSalary +
                ", totalSalary=" + totalSalary +
                ", hireDate=" + hireDate +
                ", conversionDate=" + conversionDate +
                ", effectiveDate=" + effectiveDate +
                ", isCurrent=" + isCurrent +
                ", delFlag=" + delFlag +
                ", createdAt=" + createdAt +
                '}';
    }
}
